@model Rework.CommerceHistory.Models.CommercePayPalSettingsPartRecord
@using Orchard.ContentManagement;

@{ Layout.Title = T("Edit PayPal Settings").ToString(); }

<fieldset>
    <legend>@T("PayPal settings")</legend>
        <div>
            @Html.LabelFor(m => m.BusinessEmailAddress, @T("Business Email Address"))
            @Html.EditorFor(m => m.BusinessEmailAddress)
            @Html.ValidationMessageFor(m => m.BusinessEmailAddress, "*")
        </div>
        <div>
            @Html.LabelFor(m => m.MerchantId, @T("Merchant Id"))
            @Html.EditorFor(m => m.MerchantId)
            @Html.ValidationMessageFor(m => m.MerchantId, "*")
        </div>
        <div>
            @Html.LabelFor(m => m.PDTAuthenticationToken, @T("PDT Authentication Token"))
            @Html.EditorFor(m => m.PDTAuthenticationToken)
            @Html.ValidationMessageFor(m => m.PDTAuthenticationToken, "*")
        </div>
        <div>
            @Html.LabelFor(m => m.Currency, @T("Currency for Payment Processing"))
            @Html.EditorFor(m => m.Currency)
            @Html.ValidationMessageFor(m => m.Currency, "*")
        </div>
        <div>
            @Html.LabelFor(m => m.WeightUnit, @T("Weight Unit for Payment Processing"))
            @Html.EditorFor(m => m.WeightUnit)
            @Html.ValidationMessageFor(m => m.WeightUnit, "*")
        </div>
        <fieldset>
            @Html.EditorFor(m => m.IsSandbox) 
            <label class="forcheckbox" for="@Html.FieldIdFor(m => m.IsSandbox)">@T("Is Sandbox?")</label>
        </fieldset>
</fieldset>

